package com.flitsneak.designpatterns.structuralpatterns.adapter.objectadapter;

/**
 * @author flitsneak
 * @email flitsneak@gmail.com
 * @date 2022/7/11 17:19
 * @description
 */
public class SimpFeiFeiAdapter implements SimpFeiFei {

    private ExBoyfriend exBoyfriend;

    public SimpFeiFeiAdapter(ExBoyfriend exBoyfriend) {
        this.exBoyfriend = exBoyfriend;
    }

    @Override
    public void playGames() {
        exBoyfriend.playBasketball();
    }

    @Override
    public void singJayZhou() {
        exBoyfriend.singChicken();
    }

    @Override
    public void danceLocker() {
        exBoyfriend.danceSquare();
    }
}
